package com.geostar.constructionland.attachment.entity.attachment;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.sql.Timestamp;

@TableName(value = "oa_fj_version")
@ApiModel(description = "附件版本表")
@Data
public class AttachmentVersionEntity {
    @ApiModelProperty("文件版本")
    @TableId("id")
    private String id;
    @ApiModelProperty("文件版本名称")
    @TableField("name")
    private String attachmentName;
    @ApiModelProperty("业务ID")
    @TableField("ywid")
    private String businessId;
    @ApiModelProperty("文件ID")
    @TableField("fileid")
    private String attachmentId;
    @ApiModelProperty("版本号")
    @TableField("version")
    private String version;
    @ApiModelProperty("创建人ID")
    @TableField("createuserid")
    private String createUserId;
    @ApiModelProperty("创建人名称")
    @TableField("createusername")
    private String createUserName;
    @ApiModelProperty("创建时间")
    @TableField("createdate")
    private Timestamp createTime;
}
